#include <stdio.h>
// arr1,arr2,arr3代表的形参的意思是一样的
void arr1(char s[10]){
    printf("arr1\n");
    int size =sizeof(s);
    printf("size=%d\n",sizeof(s));
    char m =s[1];
    printf("m=%c\n",m);
}

void arr2(char s[]){
    printf("arr2\n");
    int size =sizeof(s);
    printf("size=%d\n",sizeof(s));
    char m =s[1];
    printf("m=%c\n",m);
}

void arr3(char *s){
    printf("arr2\n");
    int size =sizeof(s);
    printf("size=%d\n",sizeof(s));
    char m =s[1];
    printf("m=%c\n",m);
}

void main(void){
    char s1[10]={'a','b','c','d','e','f','g','h','i','j'};
    arr1(s1);
    arr2(s1);
    arr3(s1);

}